package com.pxmeta.dynamic.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author wcl
 * @since 2022-07-21
 */
@Data
@TableName("kt_topic_user_follow")
@ApiModel(value = "TopicUserFollow对象", description = "")
public class TopicUserFollow implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("话题id")
    private Long topicId;

    @ApiModelProperty("圈子id")
    private Long circleId;

    @ApiModelProperty("是否删除")
    @TableLogic
    private Integer isDel;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

}
